<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>修改密码</title>
    <%@include file="/WEB-INF/views/commons/commons.jsp" %>
    <script src="/static/js/system/changePassword.js"></script>
</head>
<body>
<%--<div style="margin:0px 0;"></div><br><br>--%>
<div class="easyui-panel" style=" color:whitesmoke; width:1130px;padding:60px 60px;background-image:url(/static/images/timg9.jpg);background-size: cover">
    <h1>密码修改</h1><br><br>
    <form id="personMsg" method="post">
        <input class="easyui-textbox" name="id" type="hidden"  data-options="value:'${employee.id}'" >
        <input class="easyui-textbox" name="admin" type="hidden"  data-options="value:'${employee.admin}'" >
        <input class="easyui-textbox" name="state" type="hidden"  data-options="value:'${employee.state}'" >
        <input class="easyui-textbox" name="realname" type="hidden" data-options="value:'${employee.realname}'" >
        <input class="easyui-textbox"  name="tel" type="hidden" data-options="value:'${employee.tel}'" >
        <input class="easyui-textbox"  name="email" type="hidden" data-options="prompt:'email地址',validType:'email',value:'${employee.email}'" >
        <%-- <input class="easyui-datebox" name="hiredate" type="hidden"  data-options="value:'${employee.hiredate}'" >
--%>
        <div style="margin-bottom:20px">
        用户名:&nbsp; &nbsp;&nbsp;&nbsp;<input class="easyui-textbox" name="username" readonly="readonly" data-options="value:'${employee.username}'" style="width:15%;height:32px">
            <br><br><br>
        新密码:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id="password"  name="password" validType="length[6,12]"  style="width:15%;height:32px" class="easyui-textbox"  type="password" data-options="value:'${employee.password}'"/>
        <br><br><br>
        确认密码：<input type="password" name="repassword" id="repassword"  style="width:15%;height:32px" required="true" class="easyui-validatebox"  validType="equalTo['#password']" invalidMessage="两次输入密码不匹配"/>
        </div>
        <br>
    </form>
    <div>
        <a href="#" id="go" class="easyui-linkbutton" iconCls="icon-ok" style="width:10%;height:32px" onclick="save()">确定保存</a>
        <a href="#" id="load" class="easyui-linkbutton" iconCls="icon-ok" style="width:10%;height:32px" onclick="load()">重置</a>
    </div>
    <br/><br/><br/>
</div>
</body>
</html>
